﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Info.Master" AutoEventWireup="true" CodeBehind="Info.aspx.cs" Inherits="BBPA.Admin.Store.Goods.Info" %>

<%@ MasterType VirtualPath="~/Info.Master" %>



<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
    <script>

        $(function () {
            //$("body").width(500);
        })

    </script>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="cph_top" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_main" runat="server">
    
    <dt>商品名称</dt>
    <dd><%=model.Name %>
        <%=(model.State==(int) EnumHelper.GoodsState.WaitCheck)?"<span class=\"WaitCheck\">待审</span>":"" %>
        <%=model.IsOffShelf?"[已下架]":""%>
    </dd>
    <dt>简称</dt>
    <dd><%=model.ShotrName %></dd>
    <dt>型号</dt>
    <dd><%=model.Code %></dd>
    <dt>分类</dt>
    <dd><%=model.CategoryName %></dd>
    <dt>品牌</dt>
    <dd><%=model.BrandName %></dd>
    <dt>供货商</dt>
    <dd><%=model.SupplierName %></dd>
    <dt>价格</dt>
    <dd><%=StringPlus.showMoney( model.SellPrice) %>
    </dd>
    <dt>建零售价</dt>
    <dd><%=StringPlus.showMoney(model.SuggestStorePrice )%></dd>
    <div id="group_OrderForm" runat="server">
    <dt>数量</dt>
    <dd>
    <asp:TextBox ID="tb_ExpectAmount" runat="server" required="required" placeholder="必填" style="width:60px;" Text="1"></asp:TextBox>
    </dd>
    <dt></dt><dd><asp:Button ID="bt_submit" runat="server" Text="加入订单"  CssClass="btn btn-primary" OnClick="bt_submit_Click"/></dd>
        </div>
   
    <ul id="ul_Pic" class="thumbnails">
        <asp:Repeater ID="rp_pic" runat="server">
            <ItemTemplate>
                <li class="span2"><a href="#" class="thumbnail">
                    <img src="<%#Eval("URL").ToString().Replace("UploadFiles","UploadFiles/_thumbs") %>" data-width="<%#Eval("Width") %>" data-height="<%#Eval("Height") %>" /></a>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <%=model.Description %>
</asp:Content>
